<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>最新入库列表</title>
<body class="withvernav">
<div class="bodywrapper">
	{{include file='/public/leftmenu.tpl'}}
	<div class="centercontent tables">
		<div class="pageheader notab">
			<h1 class="pagetitle">最新入库列表</h1>
			<span class="pagedesc"></span>
		</div>
		<!--pageheader-->
		<div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
		<div id="contentwrapper" class="contentwrapper">
			<!--搜索栏-->
			<form class="stdform stdform2" method="get" action="/welcome/ajaxbutton">
				<div class="tableoptions">
					<input type="hidden" name="op" value="showMoreStock"/>
					商品编号: <input type="text" name="other" id="other" class="width200" placeholder="请输入商品编号" value="{{$other}}" />
					&nbsp;&nbsp;
					<button class="btn btn_orange btn_search radius50">Search</button>
				</div>
			</form>
			<!--搜索栏结束-->
			<table cellpadding="0" cellspacing="0" border="0" class="stdtable">
				<thead>
				<tr>
					<th class="head0">商品编号</th>
					<th class="head1">入库数</th>
					<th class="head0">当前库存</th>
					<th class="head1">商品名</th>
					<th class="head1">入库时间</th>
					<th class="head1">备注</th>
				</tr>
				</thead>
				<tbody>
				{{foreach from=$stocklist item=li key=key}}
				<tr>
					<td><a href="/product/productlist?ty=1&other={{$li.goods_sku}}" target="_blank"><font color="red">{{$li.goods_sku}}</font></a></td>
					<td>{{$li.goods_instock}}</td>
					<td>{{$li.stock}}</td>
					<td>
						{{$li.goods_name}}
					</td>
					<td>
						{{$li.g_updatetime}}
					</td>
					<td>
						{{$li.memo}}
					</td>
				</tr>
				{{/foreach}}
				</tbody>

			</table>
			<div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
			<br />
			<br />
		</div>
	</div>
	<!--bodywrapper-->
</body>
</html>